// 统一请求路径前缀在libs/axios.js中修改
import {
  postJsonRequest,
  apiUrl
} from '@/utils/request.js';
let friendApi = {}

/**
 * @desc 动态列表
 * @param {*} 参数 
 */
friendApi.circleIndex = (params) => {
  return postJsonRequest('/enterprise/circle/index', params)
}

/**
 * @desc 提醒列表
 * @param {*} 参数 
 */
friendApi.circleRemind = (params) => {
  return postJsonRequest('/enterprise/circle/remind', params)
}


/**
 * @desc 发布动态
 * @param {*} 参数 
 */
friendApi.addCircle = (params) => {
  return postJsonRequest('/enterprise/circle/add', params)
}

/**
 * @desc 评论/回复评论
 * @param {*} 参数 
 */
friendApi.circleComments = (params) => {
  return postJsonRequest('/enterprise/circle/comments', params)
}

/**
 * @desc 不看动态-单条
 * @param {*} 参数 
 */
friendApi.circleHide = (params) => {
  return postJsonRequest('/enterprise/circle/hide', params)
}

/**
 * @desc 不看朋友圈-好友
 * @param {*} 参数 
 */
friendApi.circleWatchcircle = (params) => {
  return postJsonRequest('/enterprise/circle/watchcircle', params)
}

/**
 * @desc 历史提醒列表
 * @param {*} 参数 
 */
friendApi.circleRemindlog = (params) => {
  return postJsonRequest('/enterprise/circle/remindlog', params)
}

/**
 * @desc 历史提醒列表 - 清空
 * @param {*} 参数 
 */
friendApi.circleRemindclean = (params) => {
  return postJsonRequest('/enterprise/circle/remindclean', params)
}

/**
 * @desc 访客列表
 * @param {*} 参数 
 */
friendApi.circleVisitor = (params) => {
  return postJsonRequest('/enterprise/circle/visitor', params)
}

/**
 * @desc 动态详情
 * @param {*} 参数 
 */
friendApi.circleInfo = (params) => {
  return postJsonRequest('/enterprise/circle/info', params)
}

/**
 * @desc 动态点赞
 * @param {*} 参数 
 */
friendApi.circleStar = (params) => {
  return postJsonRequest('/enterprise/circle/star', params)
}

/**
 * @desc 获取标签列表
 * @param {*} 参数 
 */
friendApi.imLabel = (params) => {
  return postJsonRequest('/enterprise/im/label', params)
}

/**
 * @desc 获取群聊以及包含好友信息列表
 * @param {*} 参数 
 */
friendApi.groupfrienduser = (params) => {
  return postJsonRequest('/enterprise/group/groupfrienduser', params)
}

/**
 * @desc 添加标签
 * @param {*} 参数 
 */
friendApi.labelAdd = (params) => {
  return postJsonRequest('/enterprise/im/labeladd', params)
}

/**
 * @desc 修改标签成员
 * @param {*} 参数 
 */
friendApi.changeLabelUser = (params) => {
  return postJsonRequest('/enterprise/im/labelchangeuser', params)
}

/**
 * @desc 标签内用户列表
 * @param {*} 参数 
 */
friendApi.labelFriend = (params) => {
  return postJsonRequest('/enterprise/im/labelfriend', params)
}

/**
 * @desc 标签内用户列表
 * @param {*} 参数 
 */
friendApi.labelRename = (params) => {
  return postJsonRequest('/enterprise/im/labelrename', params)
}

/**
 * @desc 删除标签
 * @param {*} 参数 
 */
friendApi.labelDel = (params) => {
  return postJsonRequest('/enterprise/im/labeldel', params)
}
/**
 * @desc 删除标签
 * @param {*} 参数 
 */
friendApi.visitorAdd = (params) => {
  return postJsonRequest('/enterprise/circle/visitoradd', params)
}


export default friendApi;